#include <iostream>
#include <vector>
#include <list>
#include <assert.h>
#include <map>
#include <set>

#include "Convert.h"

int main()
{
    std::cout << Convert<int>("123") << std::endl;

    std::cout << Convert<int>(567) << std::endl;

    std::string str = "789.45";
    std::cout << Convert<double>(str) << std::endl;

    std::cout << Convert<std::string>(46.89) << std::endl;


	std::vector<int> vecData = { 1,4,6,8,9 };
	auto cvdata = Convert<std::vector<std::string>>(vecData);

	auto cvdata2 = Convert<std::list<std::string>>(vecData);

	auto cvdata3 = Convert<std::string>(vecData);

	std::map<std::string, int> v = { {"123", 2},{"345", 5} };
	auto cvdata4 = Convert<std::map<int, int>>(v);

	auto cvdata5 = Convert<std::set<std::string>>(vecData);
    return 0;
}